home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / daolibb / daoprint.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-11-10  |  1.1 KB  |  38 lines

  1. #if !defined(AFX_DAOPRINTDIALOG_H__D182B117_78BF_11D2_917E_66801C000000__INCLUDED_)
  2. #define AFX_DAOPRINTDIALOG_H__D182B117_78BF_11D2_917E_66801C000000__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // DaoPrintDialog.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CDaoPrintDialog dialog
  12.  
  13. class CDaoPrintDialog : public CPrintDialog
  14. {
  15.     DECLARE_DYNAMIC(CDaoPrintDialog)
  16.  
  17. public:
  18.     CDaoPrintDialog(int l, BOOL bPrintSetupOnly,
  19.         // TRUE for Print Setup, FALSE for Print Dialog
  20.         DWORD dwFlags = PD_ALLPAGES | PD_USEDEVMODECOPIES 
  21.             | PD_HIDEPRINTTOFILE | PD_NOSELECTION,
  22.         CWnd* pParentWnd = NULL);
  23. protected:
  24.     //{{AFX_MSG(CDaoPrintDialog)
  25.     afx_msg void OnPrintSetup();
  26.     virtual BOOL OnInitDialog();
  27.     //}}AFX_MSG
  28.     DECLARE_MESSAGE_MAP()
  29. private:
  30.     int lines;
  31.     void SetNumPages();
  32. };
  33.  
  34. //{{AFX_INSERT_LOCATION}}
  35. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  36.  
  37. #endif // !defined(AFX_DAOPRINTDIALOG_H__D182B117_78BF_11D2_917E_66801C000000__INCLUDED_)
  38.